unit UVonHtmlPrinter;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, StdCtrls, ShellAPI, ComCtrls, ImgList, OleCtrls, SHDocVw, ToolWin;

type
  TForm4 = class(TForm)
    ToolBar1: TToolBar;
    WebBrowser1: TWebBrowser;
    ImageList1: TImageList;
    ToolButton1: TToolButton;
    ToolButton2: TToolButton;
    ToolButton3: TToolButton;
    ToolButton4: TToolButton;
    ToolButton5: TToolButton;
    ToolButton6: TToolButton;
    ToolButton7: TToolButton;
    ToolButton8: TToolButton;
    procedure Button1Click(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  Form4: TForm4;

implementation

{$R *.dfm}

procedure TForm4.Button1Click(Sender: TObject);
begin
//  ShellExecute(hWnd: HWND; Operation, FileName, Parameters,
//  Directory: PWideChar; ShowCmd: Integer): HINST; stdcall;
  ShellExecute(0, 'print', 'F:/Temp/local.htm', '', '', SW_HIDE);
end;

end.
